<!--
 * @Description: 
 * @Autor: luojie
 * @Date: 2021-07-15 13:47:27
 * @LastEditors: luojie
 * @LastEditTime: 2021-07-18 00:47:23
-->
<template>
  <view class="content">
    <image
      src="https://szgd-dev.tgovcloud.com/public/images/suc.png"
      mode="widthFix"
      class="submit-pic"
    ></image>
    <text class="text">提交成功\n感谢您的配合</text>
    <view class="btn" @click="back">返回</view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  onLoad(e){
    uni.setNavigationBarTitle({
    　　title: e.title
    })
  },
  methods: {
    back() {
      uni.switchTab({
        url: `../index/index`,
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.content {
  padding: 40rpx;
  box-sizing: border-box;
  width: 100%;
  .submit-pic {
    display: block;
    width: 177rpx;
    height: 226rpx;
    margin-top: 160rpx;
    margin-left: 38%;
  }
  .text {
    position: absolute;
    top: 442rpx;
    left: 50%;
    margin-left: -120rpx;
    width: 240rpx;
    color: #333333;
    font-size: 40rpx;
    line-height: 60rpx;
    text-align: center;
  }
  .btn {
    box-sizing: border-box;
    width: 100%;
    height: 94rpx;
    background: #2c9af1;
    border-radius: 16rpx;
    text-align: center;
    font-size: 34rpx;
    font-weight: 500;
    line-height: 95rpx;
    color: #ffffff;
    margin-top: 302rpx;
  }
}
</style>